package com.hqyj.am.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hqyj.am.pojo.MyNode;
import com.hqyj.am.pojo.Power;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author rock
 * @since 2022-08-25
 */
//@Mapper
public interface PowerMapper extends BaseMapper<Power> {
    //依据用户查询拥有的权限
    List<MyNode> queryByName(String userName);
}
